package domain;

import java.net.ConnectException;

/**
 *
 * @author Joachim
 */
public class DomainController {
    
    private Client client;
    
    public DomainController(Client client) {
        this.client = client;
    }

    public boolean logIn(String email, String wachtwoord) throws ConnectException {
        return client.logIn(email, wachtwoord);
    }
    
    public void uploadFile(String url) {
        client.uploadFile(url);
    }
    
}
